package com.oop7.Company;

public class Employee {

	String name;
	int age;
	String gender;
	String position;
	double salary;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public double getSalary() {
		return salary;
	}

	public void setSalary(double salary) {
		this.salary = salary;
	}

	public void show() {
		System.out.println(name + "\t" + age + "\t" + gender + "\t" + position + "\t" + salary);
	}

	public Employee() {

	}

	public Employee(String name, int age, String gender, String position, double salary) {

		setName(name);
		setAge(age);
		setGender(gender);
		setPosition(position);
		setSalary(salary);
	}

}
